Skip to main content

repeatDelay

Type​

property

Summary​

Specifies how long a scrollbar or field waits between the click in the scrollbar and the time the scrollbar movement begins to repeat.

Syntax​

set the repeatDelay to <milliseconds>

Description​

Use the repeatDelay property to control the responsiveness of scrollbars.

When the user clicks in a scrollbar, a mouseDown message is sent to the scrollbar. If the mouse button is still being held down after the time specified by the repeatDelay property, the scrollbar's movement begins repeating.

Examples​

set the repeatDelay to 10

Value​

NameTypeDescription

value

The repeatDelay is a non-negative integer. By default, the repeatDelay property is set to 5 milliseconds.

object: scrollbar

function: milliseconds

glossary: property, mouse button, non-negative

keyword: scrollbar, field, integer

message: mouseDown, mouseStillDown

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?